//点击下拉按钮后的操作
function analysisExpendItem(record,projectId) {
    if (record.get('id') != 'root') {
        if (!record.get('leaf') && record.get('isHas') == 0) {
            Ext.Ajax.request({
                url: zuulUrl + '/' + testServiceName + '/testProject/analysis/' + projectId + '/' + record.get('parentId'),
                method: 'get',
                async: false, // ASYNC 是否异步( TRUE 异步 , FALSE 同步)
                success: function (response, opts) {
                    var obj = Ext.decode(response.responseText);
                    record.appendChild(obj.reqAnalyses);
                    record.set("isHas", 1);
                },
                failure: function (response, opts) {
                    Ext.Msg.alert("错误", "该功能暂时不可用！");
                }
            });
        }
    }
}